﻿

namespace TrivialPurfuit.Business
{
    class GameSpace : BindableObject
    {
        /// <summary>
        /// Value between 0 and 56
        /// </summary>
        public int PositionNumber { get; private set; }

        private QuestionCategory _Category;
        public QuestionCategory Category
        {
            get
            {
                return _Category;
            }

            private set
            {
                this._Category = value;
                this.RaisePropertyChanged("Category");
            }
        }

        private bool _Highlight;
        public bool Highlight
        {
            get
            {
                return _Highlight;
            }

            set
            {
                this._Highlight = value;
                this.RaisePropertyChanged("Highlight");
            }
        }

        public int Size { get; private set; }

        public int PixelPositionX { get; private set; }

        public int PixelPositionY { get; private set; }


        public GameSpace(int positionNum, int size, int x, int y, QuestionCategory category)
        {
            this.PositionNumber = positionNum;
            this.Size = size;
            this.PixelPositionX = x;
            this.PixelPositionY = y;

            this._Category = category;
            this._Highlight = false;
        }


    }
}
